﻿using AutoMapper;
using Ross.EntityFramework;
using Ross.EntityFramework.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ross.Service.AutoMapper
{
    public class EntityProfile : Profile
    {
        public EntityProfile()
        {
            CreateMap<Users, Dto.Users>();
            CreateMap<Dto.Users, Users>();

            CreateMap<CourseClass, Dto.CourseClass>();
            CreateMap<Dto.CourseClass, CourseClass>();

            CreateMap<Course, Dto.Course>();
            CreateMap<Dto.Course, Course>();
        }
    }
}
